package edu.xidian.bdilab.jrbigdata.controller.admin;
import lombok.Data;

public enum AdminCode {
    SelectSUCCESS("4000","查询成功"),
    SelectFailed("4001","查询失败"),
    DELEATESUCCESS("4002","删除成功"),
    DELEATEFAILED("4006","删除失败"),
    Login_SUCCESS("4003","登录成功"),
    Login_FAIL("4004","登录失败"),
    NOT_EXIST("4005","该用户不存在");


    private String code;
    private String message;

    AdminCode(String code, String message){
        this.code = code;
        this.message = message;
    }

    public void setCode(String code){ this.code = code; }
    public String getCode(){ return this.code; };

    public void setMessage(String message){ this.message = message; }
    public String getMessage(){ return this.message; }
}
